package com.dong.springaop.pointcut;

import org.springframework.aop.support.StaticMethodMatcherPointcut;

import java.lang.reflect.Method;

/**
 * description
 *
 * @author Administrator 2021/09/13 10:23
 */
public class MyStaticPointcut extends StaticMethodMatcherPointcut {

    @Override
    public boolean matches(Method method, Class<?> aClass) {
        System.out.println(method);
        System.out.println(aClass);
        return true;
    }
}
